@extends('back.index')
@section('title','修改课程')

@section('mian')
    <div style="font-size:14px;" class="modal-content">
        <form  action="" method="post" enctype="multipart/form-data">
            {{csrf_field()}}
            <p style="font-size: 30px;margin-left: 30px;margin-top: 20px;">
                <a href="{{url('back/center/course')}}"><span class="glyphicon glyphicon-arrow-left"></span></a>
                <span style="margin-left:380px;">修改课程</span>
            </p>
            <div class="modal-body" style="width:670px;margin:0 auto;">
                <div class="email_tx">
                    <div>
                        <h4 style="width:100px;float:left;">课程标题:</h4>
                        <input style="width:460px;" name="title_cg" class="form-control" id="focusedInput" type="text" value="{{$result->title}}">
                    </div>
                    <div>
                        <h4 style="width:100px;">课程分类:</h4>
                        <div class="course_input" style="position: absolute;top: 60px;left: 115px;">
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="1" name="list_cg" <?= $result->type==1?'checked':'' ?>>武侠
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="2" name="list_cg" <?= $result->type==2?'checked':'' ?>>玄幻
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="3" name="list_cg" <?= $result->type==3?'checked':'' ?>>奇幻
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="4" name="list_cg" <?= $result->type==4?'checked':'' ?>>仙侠
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="5" name="list_cg" <?= $result->type==5?'checked':'' ?>>都市
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="6" name="list_cg" <?= $result->type==6?'checked':'' ?>>历史
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="7" name="list_cg" <?= $result->type==7?'checked':'' ?>>军事
                            </span>
                            <span style="margin-right:10px;" class="course_span">
                                <input type="radio" value="8" name="list_cg" <?= $result->type==8?'checked':'' ?>>灵异
                            </span>
                        </div>
                    </div>
                    <div>
                        <h4 style="margin-top:20px;">课程内容:</h4>
                        <textarea style="position: relative;top: -28px; left: 98px;width: 460px;height: 138px;resize: none;overflow: auto;" name="brief" id="passport_userdetail" class="mod-cus-input mod-cus-input-4">
                            {{$result->dist}}
                        </textarea>
                    </div>
                    <div class="modal-footer" style=" border-top:none;text-align:center;">
                        <input style="width:200px;" class="btn btn-info" type="submit" value="确定">
                    </div>
                </div>
            </div>
        </form>
    </div>
@endsection